package com.onec.service.channel.controller;

import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 交易数据统一出入口
 *
 * @author ONEC
 */
@Api(value = "agent", tags = "公共入口")
@RestController
@RequestMapping(value = "/channel")
public class NotifyController extends BaseChannelController {

    private static final Logger log = LoggerFactory.getLogger(BaseChannelController.class);

    /**
     * 接受返回的异步通知数据：
     *
     * @param channelId
     */
    @PostMapping(value = "/{channelId}")
    public void channelId(@PathVariable("channelId") String channelId, ServerHttpRequest request) {

    }
}
